package cn.shenshen.shop.mapper;

import cn.shenshen.shop.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 用户mapper
 */
@Mapper
public interface UserMapper {

    @Select("select * from t_user where id = #{id}")
    User selectByPrimaryKey(@Param("id") Long id);
} 